//
//  AppDelegate.h
//  namefight
//
//  Created by nasa on 11-3-29.
//  Copyright 2011年 nasawz.com. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface AppDelegate : NSObject <UIApplicationDelegate>{
	NSManagedObjectModel*         _managedObjectModel;
	NSManagedObjectContext*       _managedObjectContext;
	NSPersistentStoreCoordinator* _persistentStoreCoordinator;
	
	// App State
	BOOL                          _modelCreated;
	BOOL                          _resetModel;
    
}

@property (nonatomic, retain, readonly) NSManagedObjectContext* managedObjectContext;
@property (nonatomic, readonly)         NSString*               applicationDocumentsDirectory;

@end
